As in commit
bf5129adc1, leave out putting the Formats module on
the verboten list.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2115>
# SPDX-License-Identifier: MIT OR LGPL-2.0-or-later
# SPDX-FileCopyrightText: 2018 Claudio André <claudioandre.br@gmail.com>
env:
- es6: true
- es2020: true
+ es2021: true
extends: 'eslint:recommended'
plugins:
- jsdoc
linebreak-style:
- error
- unix
- lines-between-class-members: error
+ lines-between-class-members:
+ - error
+ - always
+ - exceptAfterSingleLine: true
max-nested-callbacks: error
max-statements-per-line: error
new-parens: error
window: readonly
TextEncoder: readonly
TextDecoder: readonly
+ console: readonly
+ setTimeout: readonly
+ setInterval: readonly
+ clearTimeout: readonly
+ clearInterval: readonly
parserOptions:
- ecmaVersion: 2020
+ ecmaVersion: 2022